helm repo add dify https://douban.github.io/charts/

helm upgrade --install -f https://gitee.com/allennet/geminis-k8s/raw/master/dify/dify-values.yaml dify dify/dify --namespace dify --create-namespace

kubectl create secret generic dify --from-literal=SECRET_KEY=<key> --from-literal=plugin-daemon-key=<key> --from-literal=plugin-dify-inner-api-key=<key> -n dify

kubectl create secret generic postgresql --from-literal=username=<username> --from-literal=password=<password> -n dify

kubectl create secret generic redis --from-literal=password=<password> --from-literal=celery-broker-url=<url> -n dify

kubectl create secret generic oss --from-literal=access-key=<access-key> --from-literal=secret-key=<secret-key> -n dify

#进入api容器，运行flask db upgrade